﻿// -----------------------------------------------------------------------
// <copyright file=CauHinhBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class CauHinhBusiness
    {
        CauHinhDataAccess objDa = null;

        public CauHinhBusiness()
        {
            objDa = new CauHinhDataAccess();
        }

        public Int64 InsertCauHinh(CauHinhEntity obj)
        {
            return objDa.InsertCauHinh(obj);
        }

        public bool EditCauHinh(CauHinhEntity obj)
        {
            return objDa.EditCauHinh(obj);
        }

        public bool DeleteCauHinh(Int64 maCauHinh)
        {
            return objDa.DeleteCauHinh(maCauHinh);
        }

        public CauHinhEntity GetCauHinh(Int64 maCauHinh)
        {
            return objDa.GetCauHinh(maCauHinh);
        }

        public IList<CauHinhEntity> GetCauHinhList()
        {
            return objDa.GetCauHinhList();
        }

    }
}